package com.quectel.cms.vo.merchant;

import com.quectel.core.module.merchant.dto.MerchantDto;
import com.quectel.pay.module.merchant.dto.PayChannelDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

@Data
@Schema
@EqualsAndHashCode(callSuper=true)
public class MerchantDetailVo extends MerchantDto {
    /**
     * 支付渠道
     */
    @Valid
    @NotNull
    @Schema(description = "商户详情")
    private PayChannelDto payChannel;
}
